﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Public_test_Notice : System.Web.UI.Page
{
    //GMS.BLL.ImptNoticeBLL bll = new GMS.BLL.ImptNoticeBLL();

    protected void Page_Load(object sender, EventArgs e)
    {
        //if (Session["_UserInfo"] == null || Session["OperationPrincipal"] == null)
        //{
        //    Response.Write("<script>javascript:top.location=('../Login.aspx');</script>");
        //    return;
        //}
        //DataTable dt = new DataTable();
        //dt = bll.GetPageList("autoid,topic,publishdt", "status='" + Convert.ToInt16(GMS.Utils.EnumHelper.E_MSGStatus.SUBMITED) + "' and noticetype='" + Convert.ToInt16(GMS.Utils.EnumHelper.E_NOTICETYPE.IMP) + "'", "publishdt desc", 0, 5);
        //for (int i = 0; i < dt.Rows.Count; i++)
        //{
        //    content.InnerHtml += "<a onclick=\"mview('" + dt.Rows[i]["autoid"].ToString() + "',0);\" target=\"MidFrame.ContFrame\">" + dt.Rows[i]["topic"].ToString() + "</a>" + "&nbsp;&nbsp;&nbsp;&nbsp;";
        //}
    }
}
